Start of a fix for bug#71477
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Jun 2024 15:42:24 +0000 (08:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Jun 2024 17:51:13 +0000 (10:51 -0700)
commitac14d56a4d749661a9c52941e6511a0c300d35e4
tree48c9262ab250f421929b2571e89ca8f99f46d304
parentb8873a7080f25e47b16cf21d92d64698b5e377fb
Start of a fix for bug#71477

* src/filelock.c (integer_prefixed): New static function.
(VALID_PROCESS_ID): New macro.
(current_lock_owner): Use them to allow negative process IDs
on some Microsoft platforms.
src/filelock.c